﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xKnight.Analyzing.Xss;
using xKnight.Models;

namespace xKnight.Analyzing.SimpleXss
{
    public class SimpleXssAnalyzeAnnounceItem : AnalyzeAnnounceItem
    {
        public string FormAction { get; private set; }
        public string FormMethod { get; private set; }
        public XAttack XAttack { get; private set; }

        public SimpleXssAnalyzeAnnounceItem(string formAction, string formMethod, XAttack xAttack, string description, DateTime dateTime
            , bool succeed, string url)
            :base(description,dateTime,succeed,url)
        {
            this.XAttack = xAttack;
            this.FormAction = formAction;
            this.FormMethod = formMethod;
        }
    }
}
